/**
 * @param { Array} fids = [1,2] mapgis-OID ig-server-FID;
 *  */
function delFeatures({
    fids,
    service,
    docLayer
}) {
    var deleteService = new Zondy.Service.EditDocFeature(service.name, service.layerId, {

    });
    deleteService.deletes(fids, onDelSuccess(docLayer));
}

function onDelSuccess(docLayer) {
    return function (data) {
        if (data.succeed) {
            alert("删除成功！");
            docLayer.refresh();
        } else {
            alert("删除失败！");
        }
    }
}